package com.tomehay.termprojectmanage_server.mapper;

import com.tomehay.termprojectmanage_server.pojo.Model.Evaluations;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tomehay.termprojectmanage_server.pojo.VO.GradeVO;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author tomehay
 * @since 2023-06-20
 */
public interface EvaluationsMapper extends BaseMapper<Evaluations> {
    @Select("Select group_task_id,teacher_grades,evaluation_grades,name from task_grades,group_task  WHERE group_task_id = group_task.id and group_task_id=#{id} ")
    List<GradeVO> findNextNo(int id);
}
